<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control form-control" data-rule="required" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Admin_ids')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-admin_ids" data-rule="required" data-source="auth/admin/selectpage" data-multiple="true" data-primary-key='userid' data-field="username" class="form-control selectpage form-control" name="row[admin_ids]" type="text" value="{$row.admin_ids}">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('admin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-rule="required" data-source="auth/admin/selectpage" data-multiple="false" data-primary-key='userid'  data-field="username" class="form-control selectpage form-control" name="row[admin_id]" type="text" value="{$row.admin_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="desc" class="control-label col-xs-12 col-sm-2">{:__('描述')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea class="form-control" id="desc" name="row[desc]">{$row.desc}</textarea>
        </div>
    </div>
    <input type="hidden" name="row[chatid]" value="{$row.chatid}">
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
